package com.sdc.taglibs;

import java.io.IOException;

import javax.servlet.jsp.JspException;
import javax.servlet.jsp.tagext.SimpleTagSupport;

public class Titulo extends SimpleTagSupport {
	private static final long serialVersionUID = -6851091722941797932L;
	private String titulo = null;

	/**
	 * Constructor for ErrorTag.
	 */
	public Titulo() {
		super();
	}

	public String getTitulo() {
		return titulo;
	}

	public void setTitulo(String titulo) {
		this.titulo = titulo;
	}

	public void doTag() throws JspException, IOException {

		try {
			this.getJspContext().getOut().print(this.titulo);
			this.getJspContext().getOut().print("<HR>");
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}

		// TODO Auto-generated method stub
	}

}
